home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / config / dummy / enable < prev    next >
Text File  |  1996-09-12  |  277b  |  15 lines

  1. #include <exec/execbase.h>
  2. #include <clib/exec_protos.h>
  3. #include <machine.h>
  4.  
  5. void enable(struct ExecBase *SysBase)
  6. {
  7.     SysBase->IDNestCnt--;
  8.     if(SysBase->IDNestCnt<0&&
  9.        SysBase->AttnResched&0x80&&
  10.        SysBase->TDNestCnt<0)
  11.     {
  12.         SysBase->AttnResched&=~0x80;
  13.         Switch();
  14.     }
  15. }